#ifndef CSVPARSER_H
#define CSVPARSER_H

#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>

class CSVParser {
public:
    CSVParser(const std::string& filename);
    ~CSVParser();

    bool loadFile();
    std::vector<std::vector<std::string>> getData();
    std::vector<std::string> getRow(int rowIndex);
    std::string getCell(int rowIndex, int colIndex);

private:
    std::string filename;
    std::vector<std::vector<std::string>> data;
};

#endif // CSVPARSER_H